Returns MappingInfo object for the Index()()()() property.
If the storage object is bound to a data source via its DataSource property,
the properties of this object allow the Index()()()() property
to be bound to the appropriate field in the data source.
Namespace:
C1.C1ScheduleAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] public MappingInfo IndexMapping { get; set; } |
Visual Basic |
---|
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> _ Public Property IndexMapping As MappingInfo Get Set |
Remarks
Each object derived from BasePersistableObject is identified
by either Id or Index property.
To allow data to be correctly restored from your data sources you should specify mapping
either for the IdMapping or
for the IndexMapping.
It makes sense in case if you bind to your data storages of Resources, Labels,
Contacts or Categories.
C1Schedule saves only Ids or Indexes of these objects in AppointmentSorage.
If there is no mapping for IdMapping or IndexMapping, C1Schedule won't be able to
identify Appointment's properties correctly in storages initialized by your data.